(function (moduleName4Html, global, factory) {
    if (typeof module !== 'undefined' && typeof exports === 'object') {//CommonJS(NodeJS)
        module.exports = factory(global);
    } else if (typeof define === 'function' && (define.amd || define.cmd)) {//AMD   CMD
        define( function () { factory(global); } );
    } else {//ES(Browser)
        global[moduleName4Html] = factory(global);
    }
}("config", this, function (global) {
    'use strict';
    var realServer = "http://218.89.178.103:9000";
    var testServer = "http://172.16.218.125:8288";
    var selfServer = "http://127.0.0.1:9000";
    var chengYuServer = "http://172.16.218.163:8288";
    var ZhouZhiPengServer= "http://172.16.218.174:8100";
    var XuTianServer = "http://172.16.218.35:8288";
    var ChengWenServer = "http://172.16.218.43:8288";
    var server =realServer;

    var config = {
        server: server,
        json: {
          index_server:[
            {name:'期刊',code:'CJFDTOTAL'},
            {name:'博硕',code:'CDFDTOTAL'},
            {name:'会议',code:'CPFDLAST2019_06,IPFDTOTAL'},
            {name:'报纸',code:'CCNDTOTAL'},
            {name:'中国专利',code:'SCPD'},
            {name:'海外专利',code:'SOPD'},
            {name:'科技成果',code:'SNAD'}
            //   {name:'期刊',code:'SYHJLAST2020'},
            //   {name:'博硕',code:'SYHALAST2020'},
            //   {name:'会议',code:'SYHOLAST2020'},
            //   {name:'报纸',code:'SYHNLAST2020'},
            //   {name:'中国专利',code:'SYHZLAST2020'},
            //   {name:'海外专利',code:'SYHYLAST2020'},
            //   {name:'科技成果',code:'SYHLLAST2020'}
            ]
        },
        cnkiTop:[{name:'文献',code:'SYSTZK'},
                 {name:'期刊',code:'SYHJ'},
                 {name:'博硕士',code:'SYSTBS'},
                 {name:'会议',code:'SYSTHY'},
                 {name:'报纸',code:'SYHN'},
                 {name:'中国专利',code:'SYHZ'},
                 {name:'海外专利',code:'SYHO'},
                 {name:'科技成果',code:'SYHA'},
                 {name:'党建知识' ,code:'http://10.89.145.250/hyindex/djsw/'}
                ],
        // 分页每页显示条数
        selectArr:[
            {value:'主题',text:'主题'},
            {value:'题名',text:'题名'},
            // {value:'作者',text:'作者'},
            // {value:'关键词',text:'关键词'}
        ],
        selectwwqkArr:[
            {value:'主题',text:'主题'},
            {value:'题名',text:'题名'},
            // {value:'作者',text:'作者'},
             {value:'关键词',text:'关键词'}
        ],
        selectPerArr:[{value:'题名',text:'题名'}],
        selectSystemArr:[{value:'标题',text:'标题'}],
        //协同创新
        xtcxcls:[{
            "id": "ca101",
            "title": "中央精神",
            "grade": "2",
            "parent": "0",
            "sysId": "2",
            "children": []
        },
        {
            "id": "ca102",
            "title": "历史演进",
            "grade": "2",
            "parent": "0",
            "sysId": "4",
            "children": [
                {
                    "id": "ca10201",
                    "title": "中国古代兵民合一的历史变迁",
                    "grade": "3",
                    "parent": "ca102",
                    "sysId": "5",
                    "children": []
                },
                {
                    "id": "ca10202",
                    "title": "中国特色协同创新式发展历程",
                    "grade": "3",
                    "parent": "ca102",
                    "sysId": "6",
                    "children": []
                },
            ]
        },
        {
            "id": "ca103",
            "title": "国内动态",
            "grade": "2",
            "parent": "0",
            "sysId": "7",
            "children": [
                {
                    "id": "ca10301",
                    "title": "政策体系",
                    "grade": "3",
                    "parent": "ca103",
                    "sysId": "8",
                    "children": []
                },
                {
                    "id": "ca10302",
                    "title": "各地各方动态",
                    "grade": "3",
                    "parent": "ca103",
                    "sysId": "9",
                    "children": []
                },
                {
                    "id": "ca10303",
                    "title": "实践案例",
                    "grade": "3",
                    "parent": "ca103",
                    "sysId": "10",
                    "children": []
                },
                {
                    "id": "ca10304",
                    "title": "学术研究",
                    "grade": "3",
                    "parent": "ca103",
                    "sysId": "11",
                    "children": []
                },
            ]
        },
        {
            "id": "ca104",
            "title": "绵阳实践",
            "grade": "2",
            "parent": "0",
            "sysId": "12",
            "children": [
                {
                    "id": "ca10401",
                    "title": "发展历程",
                    "grade": "3",
                    "parent": "ca104",
                    "sysId": "13",
                    "children": []
                },
                {
                    "id": "ca10402",
                    "title": "方针政策",
                    "grade": "3",
                    "parent": "ca104",
                    "sysId": "14",
                    "children": []
                },
                {
                    "id": "ca10403",
                    "title": "两弹一星精神",
                    "grade": "3",
                    "parent": "ca104",
                    "sysId": "15",
                    "children": []
                },
                {
                    "id": "ca10404",
                    "title": "绵阳经验",
                    "grade": "3",
                    "parent": "ca104",
                    "sysId": "16",
                    "children": []
                },
                {
                    "id": "ca10405",
                    "title": "理论研究",
                    "grade": "3",
                    "parent": "ca104",
                    "sysId": "17",
                    "children": []
                },
            ]
        },
        {
            "id": "ca105",
            "title": "国际视野",
            "grade": "2",
            "parent": "0",
            "sysId": "18",
            "children": [
                {
                    "id": "ca10501",
                    "title": "国外实践动态",
                    "grade": "3",
                    "parent": "ca105",
                    "sysId": "19",
                    "children": []
                },
                {
                    "id": "ca10502",
                    "title": "理论研究",
                    "grade": "3",
                    "parent": "ca105",
                    "sysId": "20",
                    "children": []
                },
            ]
        },
        ],
        //应急管理
        yjglcls:[{
            "id": "ca201",
            "title": "热点关注",
            "grade": "1",
            "parent": "0",
            "sysId": "1",
            "children": [{
                "id": "ca20101",
                "title": "中央精神",
                "grade": "2",
                "parent": "ca201",
                "sysId": "12",
                "children": []
            }, {
                "id": "ca20102",
                "title": "政策法规",
                "grade": "2",
                "parent": "ca201",
                "sysId": "13",
                "children": []
            }, {
                "id": "ca20103",
                "title": "媒体报道",
                "grade": "2",
                "parent": "ca201",
                "sysId": "14",
                "children": []
            }]
        },
        {
            "id": "ca202",
            "title": "抗震救灾",
            "grade": "1",
            "parent": "0",
            "sysId": "2",
            "children": [{
                "id": "ca20201",
                "title": "灾情回顾",
                "grade": "2",
                "parent": "ca202",
                "sysId": "6",
                "children": [{
                    "id": "ca2020101",
                    "title": "全国灾情",
                    "grade": "3",
                    "parent": "ca20201",
                    "sysId": "19",
                    "children": []
                },
                {
                    "id": "ca2020102",
                    "title": "四川灾情",
                    "grade": "3",
                    "parent": "ca20201",
                    "sysId": "20",
                    "children": []
                },
                {
                    "id": "ca2020103",
                    "title": "绵阳灾情",
                    "grade": "3",
                    "parent": "ca20201",
                    "sysId": "21",
                    "children": []
                }
                ]
            },
            {
                "id": "ca20203",
                "title": "救灾行动",
                "grade": "2",
                "parent": "ca202",
                "sysId": "7",
                "children": [{
                    "id": "ca2020301",
                    "title": "政府主导",
                    "grade": "3",
                    "parent": "ca10202",
                    "sysId": "24",
                    "children": []
                },
                {
                    "id": "ca2020302",
                    "title": "社会参与",
                    "grade": "3",
                    "parent": "ca20203",
                    "sysId": "25",
                    "children": []
                },
                {
                    "id": "ca2020303",
                    "title": "群众自救",
                    "grade": "3",
                    "parent": "ca20203",
                    "sysId": "26",
                    "children": []
                },
                {
                    "id": "ca2020304",
                    "title": "国际救援",
                    "grade": "3",
                    "parent": "ca20203",
                    "sysId": "26",
                    "children": []
                }
                ]
            }, {
                "id": "ca20202",
                "title": "领导决策",
                "grade": "2",
                "parent": "ca202",
                "sysId": "7",
                "children": [{
                    "id": "ca2020201",
                    "title": "国家层面",
                    "grade": "3",
                    "parent": "ca20202",
                    "sysId": "24",
                    "children": []
                },
                {
                    "id": "ca2020202",
                    "title": "四川层面",
                    "grade": "3",
                    "parent": "ca20202",
                    "sysId": "25",
                    "children": []
                },
                {
                    "id": "ca2020203",
                    "title": "绵阳层面",
                    "grade": "3",
                    "parent": "ca20202",
                    "sysId": "26",
                    "children": []
                }
                ]
            }
            ]
        },
        {
            "id": "ca203",
            "title": "灾后重建",
            "grade": "1",
            "parent": "0",
            "sysId": "3",
            "children": [{
                "id": "ca20301",
                "title": "重建政策",
                "grade": "2",
                "parent": "ca203",
                "sysId": "8",
                "children": [{
                    "id": "ca2030101",
                    "title": "规划",
                    "grade": "3",
                    "parent": "ca20301",
                    "sysId": "37",
                    "children": []
                },
                {
                    "id": "ca2030102",
                    "title": "对口援建",
                    "grade": "3",
                    "parent": "ca20301",
                    "sysId": "38",
                    "children": []
                }
                ]
            },
            {
                "id": "ca20302",
                "title": "重建实践",
                "grade": "2",
                "parent": "ca103",
                "sysId": "9",
                "children": [{
                    "id": "ca2030201",
                    "title": "基础设施",
                    "grade": "3",
                    "parent": "ca20302",
                    "sysId": "37",
                    "children": []
                },
                {
                    "id": "ca2030202",
                    "title": "住房",
                    "grade": "3",
                    "parent": "ca20302",
                    "sysId": "38",
                    "children": []
                }, {
                    "id": "ca2030203",
                    "title": "产业",
                    "grade": "3",
                    "parent": "ca20302",
                    "sysId": "37",
                    "children": []
                },
                {
                    "id": "ca2030204",
                    "title": "社会(社区、心理)",
                    "grade": "3",
                    "parent": "ca20302",
                    "sysId": "38",
                    "children": []
                }]
            }
            ]
        },
        {
            "id": "ca204",
            "title": "发展振兴",
            "grade": "1",
            "parent": "0",
            "sysId": "4",
            "children": [{
                "id": "ca20401",
                "title": "经济发展",
                "grade": "2",
                "parent": "ca204",
                "sysId": "12",
                "children": []
            }, {
                "id": "ca20402",
                "title": "社会发展",
                "grade": "2",
                "parent": "ca204",
                "sysId": "12",
                "children": []
            }, {
                "id": "ca20403",
                "title": "生态发展",
                "grade": "2",
                "parent": "ca204",
                "sysId": "12",
                "children": []
            }
            ]
        },
        {
            "id": "ca205",
            "title": "研究成果",
            "grade": "1",
            "parent": "0",
            "sysId": "5",
            "children": [{
                "id": "ca20501",
                "title": "全国研究",
                "grade": "2",
                "parent": "ca205",
                "sysId": "17",
                "children": [{
                    "id": "ca2050101",
                    "title": "论文",
                    "grade": "3",
                    "parent": "ca20501",
                    "sysId": "37",
                    "children": []
                },
                {
                    "id": "ca2050102",
                    "title": "著作",
                    "grade": "3",
                    "parent": "ca20501",
                    "sysId": "38",
                    "children": []
                }, {
                    "id": "ca2050103",
                    "title": "专题报道",
                    "grade": "3",
                    "parent": "ca20501",
                    "sysId": "37",
                    "children": []
                }]
            },
            {
                "id": "ca20502",
                "title": "绵阳研究",
                "grade": "2",
                "parent": "ca205",
                "sysId": "18",
                "children": [{
                    "id": "ca2050201",
                    "title": "课题",
                    "grade": "3",
                    "parent": "ca20502",
                    "sysId": "37",
                    "children": []
                },
                {
                    "id": "ca2050202",
                    "title": "论文",
                    "grade": "3",
                    "parent": "ca20502",
                    "sysId": "38",
                    "children": []
                }, {
                    "id": "ca2050203",
                    "title": "著作",
                    "grade": "3",
                    "parent": "ca20502",
                    "sysId": "37",
                    "children": []
                }, {
                    "id": "ca2050204",
                    "title": "课程",
                    "grade": "3",
                    "parent": "ca20502",
                    "sysId": "37",
                    "children": []
                },
                {
                    "id": "ca2050205",
                    "title": "口述史",
                    "grade": "3",
                    "parent": "ca20502",
                    "sysId": "37",
                    "children": []
                },
                {
                    "id": "ca2050206",
                    "title": "典型案例",
                    "grade": "3",
                    "parent": "ca20502",
                    "sysId": "38",
                    "children": []
                }, {
                    "id": "ca2050207",
                    "title": "典型人物",
                    "grade": "3",
                    "parent": "ca20502",
                    "sysId": "37",
                    "children": []
                }]
            }
            ]
        }
        ],
        //党校期刊
        dxqkcls:[
            {
                "id": "X01,X08",
                "title": "理论建设",
                "grade": "1",
                "parent": "0",
                "sysId": "41",
                "children": []
            },
            {
                "id": "X02",
                "title": "党史研究",
                "grade": "1",
                "parent": "0",
                "sysId": "42",
                "children": []
            },
            {
                "id": "X05",
                "title": "思想政治",
                "grade": "1",
                "parent": "0",
                "sysId": "43",
                "children": []
            },
            {
                "id": "X06",
                "title": "领导决策",
                "grade": "1",
                "parent": "0",
                "sysId": "44",
                "children": []
            },
            {
                "id": "X03",
                "title": "党员教育",
                "grade": "1",
                "parent": "0",
                "sysId": "45",
                "children": []
            },
            {
                "id": "X04",
                "title": "支部生活",
                "grade": "1",
                "parent": "0",
                "sysId": "46",
                "children": []
            }
        ],
        //党校期刊地区
        dxqkclsbd:[
            {
                "id": "华北片区",
                "title": "华北片区",
                "grade": "1",
                "parent": "0",
                "sysId": "41",
                "children": []
            },
            {
                "id": "华东片区",
                "title": "华东片区",
                "grade": "1",
                "parent": "0",
                "sysId": "42",
                "children": []
            },
            {
                "id": "中南片区",
                "title": "中南片区",
                "grade": "1",
                "parent": "0",
                "sysId": "43",
                "children": []
            },
            {
                "id": "西南片区",
                "title": "西南片区",
                "grade": "1",
                "parent": "0",
                "sysId": "44",
                "children": []
            },
            {
                "id": "西北片区",
                "title": "西北片区",
                "grade": "1",
                "parent": "0",
                "sysId": "45",
                "children": []
            },
            {
                "id": "东北片区",
                "title": "东北片区",
                "grade": "1",
                "parent": "0",
                "sysId": "46",
                "children": []
            }
        ],
        //两弹一星
        ldyxcls:[
            {
                "id": "ci401",
                "title": "“两弹一星”精神",
                "grade": "1",
                "parent": "0",
                "sysId": "1",
                "children": [
                    {
                        "id": "ci40101",
                        "title": "“两弹一星”精神价值",
                        "grade": "2",
                        "parent": "ci401",
                        "sysId": "5",
                        "children": []
                    },
                    {
                        "id": "ci40102",
                        "title": "“两弹一星”精神研究",
                        "grade": "2",
                        "parent": "ci401",
                        "sysId": "6",
                        "children": []
                    },
                    {
                        "id": "ci40103",
                        "title": "“两弹一星”精神传承",
                        "grade": "2",
                        "parent": "ci401",
                        "sysId": "7",
                        "children": []
                    },
                ]
            },
            {
                "id": "ci402",
                "title": "“两弹一星”历程",
                "grade": "1",
                "parent": "0",
                "sysId": "2",
                "children": [
                    {
                        "id": "ci40201",
                        "title": "中国核弹研发历程",
                        "grade": "2",
                        "parent": "ci402",
                        "sysId": "8",
                        "children": []
                    },{
                        "id": "ci40202",
                        "title": "中国导弹研发历程",
                        "grade": "2",
                        "parent": "ci402",
                        "sysId": "9",
                        "children": []
                    },{
                        "id": "ci40203",
                        "title": "中国航天发展历程",
                        "grade": "2",
                        "parent": "ci402",
                        "sysId": "10",
                        "children": []
                    },{
                        "id": "ci40204",
                        "title": "两弹一星军工体系",
                        "grade": "2",
                        "parent": "ci402",
                        "sysId": "11",
                        "children": []
                    },
                ]
            },
            {
                "id": "ci403",
                "title": "“两弹一星”人物",
                "grade": "1",
                "parent": "0",
                "sysId": "3",
                "children": [
                    {
                        "id": "ci40301",
                        "title": "“两弹一星”领导集体",
                        "grade": "2",
                        "parent": "ci403",
                        "sysId": "12",
                        "children": []
                    },{
                        "id": "ci40302",
                        "title": "“两弹一星”科研集体",
                        "grade": "2",
                        "parent": "ci403",
                        "sysId": "13",
                        "children": []
                    },{
                        "id": "ci40303",
                        "title": "“两弹一星”保障集体",
                        "grade": "2",
                        "parent": "ci403",
                        "sysId": "14",
                        "children": []
                    },
                ]
            },
            {
                "id": "ci404",
                "title": "“两弹一星”科技",
                "grade": "1",
                "parent": "0",
                "sysId": "4",
                "children": [
                    {
                        "id": "ci40401",
                        "title": "“两弹一星”科普的神秘面纱",
                        "grade": "2",
                        "parent": "ci404",
                        "sysId": "15",
                        "children": []
                    },{
                        "id": "ci40402",
                        "title": "“两弹一星”科技的和平利用",
                        "grade": "2",
                        "parent": "ci404",
                        "sysId": "16",
                        "children": []
                    },{
                        "id": "ci40403",
                        "title": "“两弹一星”国防的强大力量",
                        "grade": "2",
                        "parent": "ci404",
                        "sysId": "17",
                        "children": []
                    },{
                        "id": "ci40404",
                        "title": "“两弹一星”军事的国际竞争",
                        "grade": "2",
                        "parent": "ci404",
                        "sysId": "18",
                        "children": []
                    },
                ]
            },
            {
                "id": "ci405",
                "title": "其他",
                "grade": "1",
                "parent": "0",
                "sysId": "5",
                "children": []
            }
        ],
        //后台登录
        // loginUrl: "/adminUserInfo/login",
        loginUrl: "/admin/login",
        // 首页情报资讯
        getMenue:'/qbzx/getSortName',
        getQBZXBySortName:'/qbzx/getQBZXBySortName',
        //首页知识服务
         //获取知识服务下拉框数据
        getSearchItem:'/knowledge/getSearchItem',
        getQBZXByTableName:'/yqtIndex/getQBZXByTableName',
        //科研档案  get 参数:无
        getKYDASort:'/yqtIndex/getKYDASort',
        // get  参数:sortCode
        getKYDABySort_Index:'/yqtIndex/getKYDABySortName', 
         // 期刊阅读
        getQKYD_Index:'/yqtIndex/getQKYD_Index',
        getDBCodeFromFile:'/qkyd/getDBCodeFromFile',
        // 外文数据
        getWWSJ:'/yqtIndex/getWWSJ',
        fzww:'http://10.89.143.134:8000/Usp/apabi_usp/?pid=book.detail&metaid={1}&dt=META020&cult=CN',
        kns:'http://10.89.145.250/kns/brief/result.aspx?dbprefix=SYSTZK&kw=&korder=2&other=&sel=1&NaviDatabaseName=SYST_042_CLS&NaviField=%e8%a1%8c%e4%b8%9a%e5%88%86%e7%b1%bb%e4%bb%a3%e7%a0%81&systemno={1}&DSCode={2}',
        //外部资源
        getOutResourceDetail:'http://10.89.145.250/KCMS/detail/detail.aspx?dbcode=&dbname={0}&filename={1}&pcode=SYST',
        Domain:"http://10.89.145.250",
        cnkiMore:'http://10.89.145.250/kns/brief/result.aspx',
        getCover:'/qbzx/getCover',
        getPngSource:'/qbzx/getPngSource',
        //知识服务整合检索
        complexSearch:'/knowledge/complexSearch',
        // 左侧导航栏
        knowledgeGetIndex:'/knowledge/getIndex',
        //情报资讯
        getSortName:'/qbzx/getSortName',
        //获取外文期刊显示项的接口get  
        getSort_English:'/qkyd/getSort_English',
        //获取中文期刊显示项的接口  
        getYear_Chinese:'/qkyd/getYear_Chinese',
        //期刊数据
        complexSearchQKYD:'/qkyd/complexSearchQKYD',
       // post   参数:sysId
        getQKYDIndex:'/qkyd/getQKYD_WWsj_Index',
        //获取收藏列表
        getCollectionList:'/personCenter/getCollectionList',
        // 新增收藏
        insertCollection:'/personCenter/insertCollection',
        // 删除收藏
        deleteCollection:'/personCenter/deleteCollection',
        //期刊插入浏览量
        QKYD_BrowseRecords:'/qkyd/QKYD_BrowseRecords',
        //期刊下载 
        common_onlineDownload:'/qkyd/common_onlineDownload',
        //预览:
        common_onlineView:'/qkyd/common_onlineView',
        // 增加下载量
        insertDown:'/personCenter/insertDown',
        //下载列表
        getDownList:'/personCenter/getDownList',
        //删除下载
        deleteDown:'/personCenter/deleteDown',
        // 预览量
        insertView:'/personCenter/insertView',
        //预览列表
        getViewList:'//personCenter/getViewList',
        //删除预览
        deleteView:'/personCenter/deleteView',
        // 登录
        login:'/adminUserInfo/login',
        //修改密码
        updatePassword:'/adminUserInfo/initPwd',
        // 知识详情
        getIndex:'/yqtIndex/getIndex',
        // 获取提示词
        searchMention:'/knowledge/getCueWord',
        // 注册
        registUser:'/adminUserInfo/registUser',
        //统计下载、检索，浏览
        InsertLog:'/adminLog/InsertLog',
        // 通知公告
        showIndexPageSystemNotice:'/systemNotice/showIndexPageSystemNotice',
        // 更多
        querySystemNotice:'/systemNotice/querySystemNotice',
        // 详情页
        systemNoticeInfo:'/systemNotice/systemNoticeInfo',
        //通知公告
        getNoticeSort:'/admin/notice/getNoticeSort',
        // 新增收藏分类
        addSaveClassify:'/collectClassify/insertCollectClassify',
        // 修改收藏分类
        updateSaveClassify:'/collectClassify/updateCollectClassify',
        // 删除收藏分类
        deleteSaveClassify:'/collectClassify/deleteCollectClassify',
        // 获取所有收藏分类
        showSaveClassify:'/collectClassify/getCollectClassifyList',
        // 收藏数据
        // 添加收藏数据
        insertCollectData:'/CollectData/insertCollectData',
        // 删除收藏数据
        deleteCollectData:'/CollectData/deleteCollectData',
        //科研档案
        complexSearch_kyda:'/kyda/complexSearch_kyda',
        // 科技情报
        getClsTree:'/kjqb/getClsTree',
        // 情报科技数据列表
        complexSearch_qbkj:'/kjqb/complexSearch_qbkj',
        // 勘探技术等
        getCNKIResource_Sort:'/yqtIndex/getCNKIResource_Sort',
        //cnki
        getCNKIResource:'/yqtIndex/getCNKIResource',

        // 外文原刊列表
        complexSearch_wwsj:'/qkyd/complexSearchWWSJ',
        //期刊刊名
        getQKKM:'/qkyd/getQKKM',
        getFZWWDMETAID:'/qkyd/getFZWWDMETAID',
		//是否需要验证码
		captchaRequire:'/admin/common/captcha-require'
    };

    return config;
}));

